<template>
    <div class="week">
         <div class="week-desc">周末去哪儿</div>
         <div class="week-img" v-for="item in week">
           <img :src="item.imgUrl"/>
           <p class="t1">{{item.t1}}</p>
           <p class="t2">{{item.t2}}</p>
           <div class="week-bot"></div>
         </div>
    </div>
</template>
<script>
    export default {
        name: "HomeWeek",
        props : {
          week : Array
        },
        data () {
          return {
            // WeekList:[
            //   {id:"0001",imgUrl:require("../../assets/img/2Q== (8).jpg"),t1:"京城人的周末撒欢地",t2:"在帝都过周末，不仅仅是城中游"},
            //   {id:"0002",imgUrl:require("../../assets/img/2Q== (9).jpg"),t1:"京城欢乐亲子游",t2:"在帝都过周末，不仅仅是城中游"},
            //   {id:"0003",imgUrl:require("../../assets/img/2Q== (10).jpg"),t1:"京城有好泉",t2:"在帝都过周末，不仅仅是城中游"},
            //   {id:"0004",imgUrl:require("../../assets/img/2Q== (11).jpg"),t1:"京城人的周末撒欢地",t2:"在帝都过周末，不仅仅是城中游"},
            // ]
          }
        }
    }
</script>
<style lang="stylus" scoped>
     .week{
        .week-desc{
            text-indent:.1rem;
            line-height :.4rem;
             background-color :#ffffff;
        }
        .week-img{
           img{
             width: 100%;
           }
          .t1{
            margin:.15rem 0 0 .1rem;
            font-size :.15rem;
          }
          .t2{
            line-height :.3rem;
            margin-left :.1rem;
          }
          .week-bot{
            width: 100%;
            height:.05rem;
            background-color:#f5f5f5;
          }
        }
     }
</style>
